﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Biz_Dal.Dal
{
    public class DalCommon
    {
        BookIdeas_ShopDataContext bookIdeas_ShopDataContext;
        public BookIdeas_ShopDataContext BookIdeas_ShopDataContext
        {
            get
            {
                if (bookIdeas_ShopDataContext == null)
                {
                    bookIdeas_ShopDataContext = new BookIdeas_ShopDataContext();
                    bookIdeas_ShopDataContext.Log = Console.Out;
                }
                return bookIdeas_ShopDataContext;

            }
            set
            {
                bookIdeas_ShopDataContext = value;
            }
        }
    }
}
